/*
* Author: Dzlua
* QQ    : 505544956
* time  : 2017/08/06
*/
#pragma once

#ifdef DZLUA_BUILD_SHARED
#   if defined (WIN32) || (_WIN32)
#       if defined (DZLUA_BUILD_EXPORT)
#           define DZLUA_EXPORT __declspec(dllexport)
#       else
#           define DZLUA_EXPORT __declspec(dllimport)
#       endif // DZLUA_BUILD_EXPORT
#   else
#       if defined(DZLUA_BUILD_EXPORT)
#           define DZLUA_EXPORT __attribute__((visibility("default")))
#       else
#           define DZLUA_EXPORT
#       endif // DZLUA_BUILD_EXPORT
#   endif // WIN32
#else
#   define DZLUA_EXPORT
#endif // DZLUA_BUILD_SHARED